USER.INT#
Description
Set of scratchpad variables to use for read and write. There are 10 independent variables (USER.INT1, …, USER.INT10),
USER.INT# is non-volatile. It is saved to and restored from the drive’s parameter configuration using DRV.NVSAVE and DRV.NVLOAD. This property allows USER.INT# to store application state in the drive across a power cycle or reset.
USER.INT# can be selected as an Action Table source by setting Action Source 23 (User Variable) with Source Parameter set to the variable ID. Because USER.INT# is non-volatile, edge-triggered tasks cannot rely on the User Variable source having a value of 0 at power-up. The corresponding USER.INT# value needs to be reset before setting it to the Condition Value that triggers the action. A best practice for edge-triggered actions is to first set USER.INT# to the Condition Value, then to 0, so that subsequent NV save operations leave the drive in a deterministic state.
Examples
Usage
Trigger Action over Modbus.
Code
Map to Modbus -->MODBUS.MAP 40001 USER.INT2
Setup Action -->ACTION5.TASK 12 -->ACTION5.TASKID 1 -->ACTION5.SOURCE 23 -->ACTION5.SOURCEID 2 -->ACTION5.CONDITION 12 -->ACTION5.CONDITIONVALUE 20 -->ACTION5.ACTION 1
Versions
Action | Version | Notes |
---|---|---|
Implemented | 02-04-00-000 |
|
General Information
Type |
Read/Write |
Units | N/A |
Range |
-32768 to 32767 |
Default Value | 0 |
Data Type |
Integer |
See Also | ACTION#.SOURCE 23 |
Stored in Non-Volatile Memory | No |
Fieldbus Information
Command |
Index |
SubIndex |
Data Type |
Units |
Float Scale |
Access |
PDO Mappable |
---|---|---|---|---|---|---|---|
USER.INT1 |
4100h |
01h |
Signed16 |
- |
- |
Read/Write |
No |
USER.INT2 |
4100h |
02h |
Signed16 |
- |
- |
Read/Write |
No |
USER.INT3 |
4100h |
03h |
Signed16 |
- |
- |
Read/Write |
No |
USER.INT4 |
4100h |
04h |
Signed16 |
- |
- |
Read/Write |
No |
USER.INT5 |
4100h |
05h |
Signed16 |
- |
- |
Read/Write |
No |
USER.INT6 |
4100h |
06h |
Signed16 |
- |
- |
Read/Write |
No |
USER.INT7 |
4100h |
07h |
Signed16 |
- |
- |
Read/Write |
No |
USER.INT8 |
4100h |
08h |
Signed16 |
- |
- |
Read/Write |
No |
USER.INT9 |
4100h |
09h |
Signed16 |
- |
- |
Read/Write |
No |
USER.INT10 |
4100h |
0ah |
Signed16 |
- |
- |
Read/Write |
No |
Name |
ID |
Hex |
Data Type |
Access |
Units |
---|---|---|---|---|---|
USER.INT1 |
3200 |
C80 |
Signed16 |
Read/Write |
- |
USER.INT2 |
3201 |
C81 |
Signed16 |
Read/Write |
- |
USER.INT3 |
3202 |
C82 |
Signed16 |
Read/Write |
- |
USER.INT4 |
3203 |
C83 |
Signed16 |
Read/Write |
- |
USER.INT5 |
3204 |
C84 |
Signed16 |
Read/Write |
- |
USER.INT6 |
3205 |
C85 |
Signed16 |
Read/Write |
- |
USER.INT7 |
3206 |
C86 |
Signed16 |
Read/Write |
- |
USER.INT8 |
3207 |
C87 |
Signed16 |
Read/Write |
- |
USER.INT9 |
3208 |
C88 |
Signed16 |
Read/Write |
- |
USER.INT10 |
3209 |
C89 |
Signed16 |
Read/Write |
- |
Parameter |
PNU |
Data Type |
Access |
Units |
---|---|---|---|---|
USER.INT1 |
3200 |
Signed16 |
Read/Write |
- |
USER.INT2 |
3201 |
Signed16 |
Read/Write |
- |
USER.INT3 |
3202 |
Signed16 |
Read/Write |
- |
USER.INT4 |
3203 |
Signed16 |
Read/Write |
- |
USER.INT5 |
3204 |
Signed16 |
Read/Write |
- |
USER.INT6 |
3205 |
Signed16 |
Read/Write |
- |
USER.INT7 |
3206 |
Signed16 |
Read/Write |
- |
USER.INT8 |
3207 |
Signed16 |
Read/Write |
- |
USER.INT9 |
3208 |
Signed16 |
Read/Write |
- |
USER.INT10 |
3209 |
Signed16 |
Read/Write |
- |